package com.ourteam.product.requirement.dao;

import net.dao.IDataAccessInterface;


/**
 * Template Name : DAO接口模板
 * Template Version : 1
 * Template Last Modfiy Date : Thu Sep 21 11:14:14 CST 2017
 * Auto Generate Date : 2018-05-03 16:45:13
  * Warning ! This file will be overwrite when regenerate !
  *
 */
public interface IBaseProductIssueDAO extends IDataAccessInterface<ProductIssue, ProductIssueDAOQueryBean> {
    /**
        *  Mapped Entity Name
        */
    static final String EntityName = "PRODUCT_ISSUE";

    /**
     * Mapped Field ID
    */
    static final String Id = "PRODUCT_ISSUE.ID";

    /**
     * Mapped Field PRODUCT_DEFINE_ID
    */
    static final String ProductDefineId = "PRODUCT_ISSUE.PRODUCT_DEFINE_ID";

    /**
     * Mapped Field PRODUCT_VERSION_ID
    */
    static final String ProductVersionId = "PRODUCT_ISSUE.PRODUCT_VERSION_ID";

    /**
     * Mapped Field ISSUE_CODE
    */
    static final String IssueCode = "PRODUCT_ISSUE.ISSUE_CODE";

    /**
     * Mapped Field ISSUE_TYPE
    */
    static final String IssueType = "PRODUCT_ISSUE.ISSUE_TYPE";

    /**
     * Mapped Field ISSUE_TITLE
    */
    static final String IssueTitle = "PRODUCT_ISSUE.ISSUE_TITLE";

    /**
     * Mapped Field ISSUE_CONTENT
    */
    static final String IssueContent = "PRODUCT_ISSUE.ISSUE_CONTENT";

    /**
     * Mapped Field ISSUE_PRIORITY
    */
    static final String IssuePriority = "PRODUCT_ISSUE.ISSUE_PRIORITY";

    /**
     * Mapped Field SUBMIT_USER_ID
    */
    static final String SubmitUserId = "PRODUCT_ISSUE.SUBMIT_USER_ID";

    /**
     * Mapped Field SUBMIT_TIME
    */
    static final String SubmitTime = "PRODUCT_ISSUE.SUBMIT_TIME";

    /**
     * Mapped Field ASSIGN_USER_ID
    */
    static final String AssignUserId = "PRODUCT_ISSUE.ASSIGN_USER_ID";

    /**
     * Mapped Field ASSIGN_TIME
    */
    static final String AssignTime = "PRODUCT_ISSUE.ASSIGN_TIME";

    /**
     * Mapped Field PLAN_SOLVE_TIME
    */
    static final String PlanSolveTime = "PRODUCT_ISSUE.PLAN_SOLVE_TIME";

    /**
     * Mapped Field ACTUAL_SOLVE_TIME
    */
    static final String ActualSolveTime = "PRODUCT_ISSUE.ACTUAL_SOLVE_TIME";

    /**
     * Mapped Field RESOLUTIONS
    */
    static final String Resolutions = "PRODUCT_ISSUE.RESOLUTIONS";

    /**
     * Mapped Field RESOLUTIONS_REMARKS
    */
    static final String ResolutionsRemarks = "PRODUCT_ISSUE.RESOLUTIONS_REMARKS";

    /**
     * Mapped Field LAST_UPDATE_TIME
    */
    static final String LastUpdateTime = "PRODUCT_ISSUE.LAST_UPDATE_TIME";

    /**
     * Mapped Field LAST_UPDATE_USER_ID
    */
    static final String LastUpdateUserId = "PRODUCT_ISSUE.LAST_UPDATE_USER_ID";

    /**
     * Mapped Field ISSUE_NOTE_COUNT
    */
    static final String IssueNoteCount = "PRODUCT_ISSUE.ISSUE_NOTE_COUNT";

    /**
     * Mapped Field ISSUE_ATTACH_COUNT
    */
    static final String IssueAttachCount = "PRODUCT_ISSUE.ISSUE_ATTACH_COUNT";

    /**
     * Mapped Field STATUS
    */
    static final String Status = "PRODUCT_ISSUE.STATUS";

    /**
     * Mapped Field REMARKS
    */
    static final String Remarks = "PRODUCT_ISSUE.REMARKS";

    /**
     * Mapped Field CREATOR_ID
    */
    static final String CreatorId = "PRODUCT_ISSUE.CREATOR_ID";

    /**
     * Mapped Field CREATE_TIME
    */
    static final String CreateTime = "PRODUCT_ISSUE.CREATE_TIME";

    /**
     * Mapped Attribute creatorName
    */
    static final String CreatorName = org.apache.commons.lang.StringUtils.replace(com.ourteam.system.dao.ISysUserDAO.UserName,
            com.ourteam.system.dao.ISysUserDAO.EntityName + ".",
            "RELATED_R1XX81_SysUser.");

    /**
     * Mapped Attribute creatorPhoto
    */
    static final String CreatorPhoto = org.apache.commons.lang.StringUtils.replace(com.ourteam.system.dao.ISysUserDAO.UserPhoto,
            com.ourteam.system.dao.ISysUserDAO.EntityName + ".",
            "RELATED_R1XX81_SysUser.");

    /**
     * Delete Data
     * @param final long id
     * @throws Exception
     */
    void delete(final long id) throws Exception;

    /**
         * Find Data By Primary Key
         * @param  final long id
         * @throws Exception
         */
    ProductIssue findById(final long id) throws Exception;

    static public interface DataProperty {
        /**
         * Attribute id
         */
        static final String Id = "id";

        /**
         * Attribute productDefineId
         */
        static final String ProductDefineId = "productDefineId";

        /**
         * Attribute productVersionId
         */
        static final String ProductVersionId = "productVersionId";

        /**
         * Attribute issueCode
         */
        static final String IssueCode = "issueCode";

        /**
         * Attribute issueType
         */
        static final String IssueType = "issueType";

        /**
         * Attribute issueTitle
         */
        static final String IssueTitle = "issueTitle";

        /**
         * Attribute issueContent
         */
        static final String IssueContent = "issueContent";

        /**
         * Attribute issuePriority
         */
        static final String IssuePriority = "issuePriority";

        /**
         * Attribute submitUserId
         */
        static final String SubmitUserId = "submitUserId";

        /**
         * Attribute submitTime
         */
        static final String SubmitTime = "submitTime";

        /**
         * Attribute assignUserId
         */
        static final String AssignUserId = "assignUserId";

        /**
         * Attribute assignTime
         */
        static final String AssignTime = "assignTime";

        /**
         * Attribute planSolveTime
         */
        static final String PlanSolveTime = "planSolveTime";

        /**
         * Attribute actualSolveTime
         */
        static final String ActualSolveTime = "actualSolveTime";

        /**
         * Attribute resolutions
         */
        static final String Resolutions = "resolutions";

        /**
         * Attribute resolutionsRemarks
         */
        static final String ResolutionsRemarks = "resolutionsRemarks";

        /**
         * Attribute lastUpdateTime
         */
        static final String LastUpdateTime = "lastUpdateTime";

        /**
         * Attribute lastUpdateUserId
         */
        static final String LastUpdateUserId = "lastUpdateUserId";

        /**
         * Attribute issueNoteCount
         */
        static final String IssueNoteCount = "issueNoteCount";

        /**
         * Attribute issueAttachCount
         */
        static final String IssueAttachCount = "issueAttachCount";

        /**
         * Attribute status
         */
        static final String Status = "status";

        /**
         * Attribute remarks
         */
        static final String Remarks = "remarks";

        /**
         * Attribute creatorName
         */
        static final String CreatorName = "creatorName";

        /**
         * Attribute creatorPhoto
         */
        static final String CreatorPhoto = "creatorPhoto";

        /**
         * Attribute creatorId
         */
        static final String CreatorId = "creatorId";

        /**
         * Attribute createTime
         */
        static final String CreateTime = "createTime";
    }

    static public interface _DataObjectProperty extends DataProperty {
    }
}
